package org.ourguy.mymoviesandshows.apiclient;

public class APIException extends Throwable {
	private static final long serialVersionUID = -6858763164350004081L;
	String status;
	
	public APIException(String status, String message){
		super(message);
		this.status = status;
	}
	
	public APIException(String message){
		super(message);
		this.status = "failure";
	}
	
	public APIException(String status, String message, Throwable cause){
		super(message, cause);
		this.status = status;
	}
	
	public APIException(String message, Throwable cause){
		super(message, cause);
		this.status = "failure";
	}
}
